package com.jadcon.SimpleValidator.domain;

import org.springmodules.validation.bean.conf.loader.annotation.handler.Email;  
import org.springmodules.validation.bean.conf.loader.annotation.handler.Length;  
import org.springmodules.validation.bean.conf.loader.annotation.handler.NotBlank;  

public final class UserMessage {

	@NotBlank
	@Length (max = 80)
	private String name;
	
	@NotBlank
	@Email
	@Length (max = 80)
	private String email;
	
	@NotBlank
	@Length (max = 2000)
	private String text;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

}
